﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="WheelLucky.aspx.cs" Inherits="WheelLucky" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script src="<%= ResolveUrl("~/Wheel/swfobject.js")%>" type="text/javascript"></script>
    <script type="text/javascript">
	    window.onload = function() {
	        var so = new SWFObject('<%= ResolveUrl("~/Wheel/wof_eng.swf")%>', 'swft', 500, 260, "9", "#e8e6e6");
		    so.addParam("name","swft");
		    so.addParam("id","swft");
		    so.addParam("menu", "false");
		    so.addParam("quality", "hight");
		    if (navigator.appName == "Microsoft Internet Explorer" || (navigator.userAgent.indexOf("Safari") != -1)){
			    so.addParam("wmode", "opaque");
		    }
		    so.addParam("allowScriptAccess", "always");
		    so.addParam("salign","TL" )
		    so.addParam("scale","noscale");
		    so.addVariable("language", "vn");
		    so.addVariable("spin_speed", "7");
		    // These two variables should be populated by session variables
		    so.addVariable("member_name", "nguoicungkho");//displayname of user
		    so.addVariable("advertizer_name", "IPHONE4"); // product code
		    so.addVariable("member_id", "nguoicungkho");//username
		    so.addVariable("advertizer_id", "Iphone");// productID
		    so.addVariable("spin", '<%= ResolveUrl("~/Wheel/wof.aspx")%>');
		    so.addVariable("results", '<%= ResolveUrl("~/Wheel/wof_results.aspx")%>');
		    //so.addVariable("rootURL", "http://localhost/ryan/");
		    //so.addVariable("rootURL", "http://www.papergrave.com/ryan/");
		    so.addVariable("rootURL", "http://up1.highlandsoft.com.vn/");
		    so.write('flash_content');
	    }
    </script>
    <style type="text/css">
        *{margin:0; padding:0;}
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div style="width:990px; margin:0 auto">
        <div style="text-align:center;background:#0576B5;">
            <div id="flash_content"></div>
        </div>
        <iframe src="#" width="990px" style="border:none"></iframe>
    </div>
    </form>
</body>
</html>
